<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="myTags" tagdir="/WEB-INF/tags/components" %>
<%@ tag language="java" pageEncoding="ISO-8859-1"%>
<%@ attribute name="requestUser" required="true" type="beans.User" rtexprvalue="true" %>

<!-- Author: Minh-Tuan Ta -->

<div class="friendRequest">
	<myTags:SmallUserBlock user="${requestUser }"></myTags:SmallUserBlock>
	<div>Has requested to be your friend</div>
	<form action="AddFriend" method="post">
		<input type="hidden" name="userID" value="${requestUser.userID}" />
		<input type="submit" name="submit" value="Accept Friend Request" />
	</form>
</div>